package com.wenhai.springbook.custom;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 自定义 XML Tag 示例
 *
 * @author wenhai
 * @date   2020/10/9
 */
public class CustomUserXsdDemo {
    public static void main(String[] args) {
        ApplicationContext ctx = new ClassPathXmlApplicationContext("META-INF/custom-user-xsd.xml");
        System.out.println(ctx.getBean("user", User.class));
    }
}
